<?php



/**
 * AccountObligation Model
 *
 * @property Obligation $Obligation
 * @property Account $Account
 */
class AccountObligation extends AppModel {
    //The Associations below have been created with all possible keys, those that are not needed can be removed

    /**
     * belongsTo associations
     *
     * @var array
     * 
     */
    public $actsAs = array('Logable' => array(
            'userModel' => 'User',
            'userKey' => 'user_id',
            'change' => 'full', // options are 'list' or 'full'
            'description_ids' => TRUE // options are TRUE or FALSE
            ));
    public $belongsTo = array(
        'Obligation' => array(
            'className' => 'Obligation',
            'foreignKey' => 'obligation_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ),
        'Account' => array(
            'className' => 'Account',
            'foreignKey' => 'account_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        )
    );

}
